//上一页
function prevPage() {
    if (currentPage == 1 || currentPage == 0) alert("前面的区域以后再来探索吧");
    else {
        if (currentPage > 1) currentPage -= 1;
        document.getElementById("currentPage").innerHTML = currentPage;
        setMovieInfo();
    }
}

//下一页
function nextPage() {
    if (currentPage == totalPage) alert("前面的区域以后再来探索吧");
    else {
        if (currentPage < totalPage) currentPage += 1;
        document.getElementById("currentPage").innerHTML = currentPage;
        setMovieInfo();
    }
}